Skip to content

Conversation

@jdalton
Copy link
Contributor

@jdalton jdalton commented Jan 11, 2026

Update socket-patch dependency from v1.0.0 to v1.2.0, which includes:

  • Progress spinner for scan command
  • Improved test coverage

This update addresses reviewer feedback in depscan PR #16387 regarding the socket-patch version mismatch.


Note

Publishes a new release with dependency update.

  • Bumps @socketsecurity/socket-patch from 1.0.0 to 1.2.0 (adds progress spinner for scan command; improved test coverage)
  • Updates package.json version to 1.1.57 and adds corresponding entry to CHANGELOG.md
  • Syncs pnpm-lock.yaml to reflect the new dependency version

Written by Cursor Bugbot for commit dcb8fd0. Configure here.

Update socket-patch dependency from v1.0.0 to v1.2.0, which includes:
- Progress spinner for scan command
- Improved test coverage

This update addresses reviewer feedback in depscan PR #16387 regarding
the socket-patch version mismatch.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​socketsecurity/​socket-patch@​1.0.0 ⏵ 1.2.0100100100100100

View full report

@socket-security-staging
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​socketsecurity/​socket-patch@​1.0.0 ⏵ 1.2.0100100100100100

View full report

@jdalton jdalton enabled auto-merge (squash) January 11, 2026 06:25
@jdalton jdalton merged commit dfe019d into v1.x Jan 12, 2026
8 of 11 checks passed
@jdalton jdalton deleted the jdalton/fix-update-socket-patch-to-1.2.0 branch January 12, 2026 05:40
jdalton added a commit that referenced this pull request Jan 12, 2026
BREAKING CHANGE: Replace custom built-in patch implementation with external
@socketsecurity/socket-patch package, following the same integration pattern
as Coana and SFW.

Changes:
- Add [email protected] to external-tools.json
- Create socket-patch spawn utility (src/utils/socket-patch/spawn.mts)
- Add SOCKET_CLI_SOCKET_PATCH_LOCAL_PATH environment variable support
- Replace 30+ custom patch files with simple wrapper that delegates to socket-patch
- Move old custom implementation to patch-old/ for reference
- Add INLINED_SOCKET_CLI_SOCKET_PATCH_VERSION to env constants

BREAKING CHANGE: External tool version getters now throw errors instead of
returning empty strings when versions are missing from external-tools.json.
This affects getCoanaVersion(), getSwfVersion(), and getSocketPatchVersion().

Benefits:
- Consistent external tool integration pattern across CLI
- Reduces maintenance burden (socket-patch maintained separately)
- Users get socket-patch updates without CLI releases
- Simplified codebase (~30 files → 1 wrapper)

Ported from v1.x commits:
- 44655ac: Use @socketsecurity/socket-patch for patch command (#987)
- dfe019d: feat: update @socketsecurity/socket-patch to v1.2.0 (#1030)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants